WCPOS\WooCommercePOS\API\Product_Variations_Controller A

Total Complexity 64
Dependencies 9
Dependents 1
Total lines 472
Lines of code 256
Logical lines of code 138
Comment lines 139
Methods 15
Properties 2

Methods 15

Method Rating Maintainability Complexity Lines of code
wcpos_posts_search()
A
46 11 38
wcpos_variation_response()
A
50 9 26
prepare_objects_query()
A
46 8 40
get_item_schema()
S
56 6 17
get_collection_params()
S
57 5 16
wcpos_get_all_posts()
S
48 3 36
wcpos_dispatch_request()
S
64 4 9
wcpos_product_variation_query()
S
62 4 10
wcpos_posts_where_product_variation_include_exclude()
S
58 3 14
__construct()
S
56 2 19
wcpos_posts_join_to_posts_search()
S
66 3 7
wcpos_insert_product_variation_object()
S
67 2 8
wcpos_posts_groupby_posts_search()
S
68 2 7
wcpos_register_wc_rest_api_hooks()
S
69 1 6
wcpos_get_all_items()
S
80 1 3